package com.test.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * CardType entity. @author MyEclipse Persistence Tools
 */

public class CardType implements java.io.Serializable {

	// Fields

	private Integer id;
	private String cardTypeName;
	private Double cardPrice;
	private String cardImage;
	private Set orderDetails = new HashSet(0);
	private Set cards = new HashSet(0);

	// Constructors

	/** default constructor */
	public CardType() {
	}

	/** minimal constructor */
	public CardType(String cardTypeName, Double cardPrice, String cardImage) {
		this.cardTypeName = cardTypeName;
		this.cardPrice = cardPrice;
		this.cardImage = cardImage;
	}

	/** full constructor */
	public CardType(String cardTypeName, Double cardPrice, String cardImage,
			Set orderDetails, Set cards) {
		this.cardTypeName = cardTypeName;
		this.cardPrice = cardPrice;
		this.cardImage = cardImage;
		this.orderDetails = orderDetails;
		this.cards = cards;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCardTypeName() {
		return this.cardTypeName;
	}

	public void setCardTypeName(String cardTypeName) {
		this.cardTypeName = cardTypeName;
	}

	public Double getCardPrice() {
		return this.cardPrice;
	}

	public void setCardPrice(Double cardPrice) {
		this.cardPrice = cardPrice;
	}

	public String getCardImage() {
		return this.cardImage;
	}

	public void setCardImage(String cardImage) {
		this.cardImage = cardImage;
	}

	public Set getOrderDetails() {
		return this.orderDetails;
	}

	public void setOrderDetails(Set orderDetails) {
		this.orderDetails = orderDetails;
	}

	public Set getCards() {
		return this.cards;
	}

	public void setCards(Set cards) {
		this.cards = cards;
	}

}